<template>
  <main>
    <ul>
      <li v-for="(item, index) in list" :key="index">
        <slot name="childComponent"></slot>
      </li>
    </ul>
  </main>
</template>
<script>
export default {
  props: {
    name: {
      type: String,
      required: true
    },
    list: {
      type: Array,
      required: true
    }
  }
}
</script>